//
//  HMWebViewController.swift
//  Weibo
//
//  Created by ZhuDong on 16/6/9.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class HMWebViewController: UIViewController {
    let webView = UIWebView()
    var urlStr: String?
    override func loadView() {
        self.view = webView;
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        let url = NSURL(string: urlStr!)!
        let request = NSURLRequest(URL: url)
        webView.loadRequest(request)
    }

}
